#include <stdio.h>

int (*phanshu)(int a,int b) = NULL;

int  jiafa(int a,int b)   //   int a;   &a
{
	int sum = 0;
	sum = a + b;
	return sum;
}

int  jianfa(int a,int b)   //   int a;   &a
{
	int sum = 0;
	sum = a - b;
	return sum;
}

int  chengfa(int a,int b)   //   int a;   &a
{
	int sum = 0;
	sum = a * b;
	return sum;
}

int  chufa(int a,int b)   //   int a;   &a
{
	int sum = 0;
	sum = a / b;
	return sum;
}
void  huidiaoFuc(int (*phanshu)(int,int),int x,int y)
{
	int sum = 0; 
//	phanshu = jiafa;
    sum = phanshu(x,y) + 4;  
    printf("sum == %d\n",sum);	
	
}

int main()
{	
	int sum = 0; 


	huidiaoFuc(jiafa,5,8);
	huidiaoFuc(jianfa,15,8);
	huidiaoFuc(chengfa,15,8);
	huidiaoFuc(chufa,15,8);
	
	return 0;
}

